<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>求最大值</title>
	</head>
	<body>
		<script>
			var A = prompt("请您输入第一个数");
			var B = prompt("请您输入第二个数");
			if(A>B){
				document.write(A);
			}
			else{
				document.write(B);
			}
		</script>
	</body>
</html>
